﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Master/ViewMain.Master" AutoEventWireup="true" CodeBehind="News.aspx.cs" Inherits="WebClient.News" %>

<asp:Content ID="Content1" ContentPlaceHolderID="cphHeader" runat="server">
    <asp:Label runat="server" ID="lContentTitle" />
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="cphContent" runat="server">

    <div style="height: 0px; clear: both;"></div>
    <div id="s5_below_body_wrap">
        <div id="s5_below_body">
            <div id="s5_below_body_inner">
                <div class="s5_float_left" id="s5_pos_below_body_1" style="width: 100%;">
                    <div class="s5_fourdivs_1">
                        <div class="s5_fourdivs_2">
                            <div class="s5_fourdivs_3">
                                <div class="s5_fourdivs_4">
                                    <div class="nspMainPortalMode3 nspFs100" id="nsp-nsp_127">
                                        <div class="nspTitles">
                                            <asp:Repeater runat="server" ID="rptList">
                                                <ItemTemplate>
                                                    <div class="nspTitleBlock">
                                                        <div class="nspTitleTab">
                                                            <div class="nspDate">
                                                                <%# Convert.ToDateTime(Eval("CreateDate")).ToShortDateString() %>
                                                            </div>
                                                            <div class="nspTitle">
                                                                <%# Eval("Title") %>
                                                            </div>
                                                        </div>
                                                        <div class="nspArtMore unvisible">
                                                            <div class="nspArtMain">
                                                                <p class="nspText tleft fleft">
                                                                    <%# Eval("Content") %>
                                                                </p>
                                                                <asp:HyperLink runat="server" ID="hlNews" CssClass="readon fright" Text="Подробнее" NavigateUrl='<%# String.Format("/?id={0}", Eval("SiteContentId")) %>' />
                                                            </div>
                                                        </div>
                                                    </div>
                                                </ItemTemplate>
                                            </asp:Repeater>
                                        </div>
                                    </div>
                                    <script src="Scripts/engine.portal.mode.3.js" type="text/javascript"></script>

                                    <script type="text/javascript">
                                        //<![CDATA[
                                        try { $Gavick; } catch (e) { $Gavick = {}; };
                                        $Gavick["nsp-nsp_127"] = {
                                            "animation_speed": 400,
                                            "open_first": 1
                                        };
                                        //]]>
                                    </script>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div style="height: 0px; clear: both;"></div>
            </div>
        </div>
    </div>


</asp:Content>
